package com.xuecheng.order.service;

import com.xuecheng.commons.model.vo.ResponseResult;
import com.xuecheng.order.domain.Payment;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xuecheng.web.exceptions.BusinessException;

/**
 * <p>
 * 订单支付信息 服务类
 * </p>
 *
 * @author 七安
 * @since 2022-09-30
 */
public interface PaymentService extends IService<Payment> {

    /**
     * 获取支付url
     *
     * @param orderNo 订单号
     * @return 结果
     */
    ResponseResult<String> getPayUrl(String orderNo) throws BusinessException;
}
